import axios from 'axios'

const instance = axios.create({
/*   baseURL: 'http://192.168.43.181:8080',
  timeout: 5000 */
})

// 拦截器
// 请求拦截
instance.interceptors.request.use(config => {
  return config
}, err => {
  return err
})

// 响应拦截
instance.interceptors.response.use(res => {
  return res
}, err => {
  return err
})

export default instance
